<?php
    $user=$_POST['user'];
     $id=$_POST['id'];
     $content=$_POST['content'];
     $num=$_POST['num'];
     $date=$_POST['date'];
     require('sql.php');
     $c=$user.$date;
$sql = "INSERT INTO pinglun (cd,id,cookie,date,content,zan)
VALUES ('$c','$id', '$user','$date','$content','$num')";
if($c!="")
{
mysqli_query($conn, $sql);
}
mysqli_close($conn);
?>